<?php
define('IS_PRODUCTION', false);
if(IS_PRODUCTION==true) {
    // HTTP
    define('HTTP_SERVER', 'http://giatotonline.com/');
    define('HTTP_IMAGE', 'http://giatotonline.com/image/');
    define('HTTP_ADMIN', 'http://giatotonline.com/admin/');

    // HTTPS
    define('HTTPS_SERVER', 'http://giatotonline.com/');
    define('HTTPS_IMAGE', 'http://giatotonline.com/image/');

    // DIR
    define('DIR_APPLICATION', 'catalog/');
    define('DIR_SYSTEM', 'system/');
    define('DIR_DATABASE', 'system/database/');
    define('DIR_LANGUAGE', 'catalog/language/');
    define('DIR_TEMPLATE', 'catalog/view/theme/');
    define('DIR_CONFIG', 'system/config/');
    define('DIR_IMAGE', 'image/');
    define('DIR_CACHE', 'system/cache/');
    define('DIR_DOWNLOAD', 'download/');
    define('DIR_LOGS', 'system/logs/');

    // DB
    define('DB_DRIVER', 'mysql');
    define('DB_HOSTNAME', 'giatotonlinejuly.db.7201352.hostedresource.com');
}else{
    // HTTP
    define('HTTP_SERVER', 'http://localhost:3103/giatotonline.com/');
    define('HTTP_IMAGE', 'http://localhost:3103/giatotonline.com/image/');
    define('HTTP_ADMIN', 'http://localhost:3103/giatotonline.com/admin/');

    // HTTPS
    define('HTTPS_SERVER', 'http://localhost:3103/giatotonline.com/');
    define('HTTPS_IMAGE', 'http://localhost:3103/giatotonline.com/image/');

    // DIR
    define('DIR_APPLICATION', 'D:\server_web\AppServ\www\giatotonline.com/catalog/');
    define('DIR_SYSTEM', 'D:\server_web\AppServ\www\giatotonline.com/system/');
    define('DIR_DATABASE', 'D:\server_web\AppServ\www\giatotonline.com/system/database/');
    define('DIR_LANGUAGE', 'D:\server_web\AppServ\www\giatotonline.com/catalog/language/');
    define('DIR_TEMPLATE', 'D:\server_web\AppServ\www\giatotonline.com/catalog/view/theme/');
    define('DIR_CONFIG', 'D:\server_web\AppServ\www\giatotonline.com/system/config/');
    define('DIR_IMAGE', 'D:\server_web\AppServ\www\giatotonline.com/image/');
    define('DIR_CACHE', 'D:\server_web\AppServ\www\giatotonline.com/system/cache/');
    define('DIR_DOWNLOAD', 'D:\server_web\AppServ\www\giatotonline.com/download/');
    define('DIR_LOGS', 'D:\server_web\AppServ\www\giatotonline.com/system/logs/');

    // DB
    define('DB_DRIVER', 'mysql');
    define('DB_HOSTNAME', 'localhost'); 
}
define('DB_USERNAME', 'giatotonlinejuly');
define('DB_PASSWORD', 'Tienhv@0331');
define('DB_DATABASE', 'giatotonlinejuly');
define('DB_PREFIX', 'gthome_');
?>